<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
            .bw{
                width: 2000px;
                height: 1000px;
                background-color: green;
                background-image: url(images/1.png);
                /* 默认平铺显示 */
                /* background-repeat: repeat; */
                /* background-repeat: no-repeat; */
                /* background-repeat: repeat-x; */
                /* background-repeat: repeat-y; */
                
            }
         </style>
     </head>
     <body>
         <div class="bw">
             css 背景颜色和图片
         </div>
     </body>
</html>